package com.example.config_demo_9010;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
//开启配置中心服务
@SpringBootApplication
@EnableConfigServer
@EnableDiscoveryClient
@ServletComponentScan(basePackages = {"com/example/config_demo_9010/filter"})
public class ConfigDemo9010Application {

    public static void main(String[] args) {
        SpringApplication.run(ConfigDemo9010Application.class, args);
    }

}
